require 'crawler/lastfm_crawler'

conditions = nil
conditions = ARGV[0] unless ARGV[0].nil?

lf = Crawler::LastfmCrawler.new :conditions => conditions, :min_dealy => 2, :max_delay => 10

log = lf.start_crawling {|c| p c}

puts "Finis"